package gemini.castor.ui.client.page.widget.personalinfo;

import java.util.Date;

import com.google.gwt.validation.client.NotEmpty;
import com.google.gwt.validation.client.interfaces.IValidatable;

public class PersonalInfoObject implements IValidatable {
	
	@NotEmpty(message = "emptyFirstName")
	private String firstName;
	
	@NotEmpty(message = "emptyLastName")
	private String lastName;
	
	private Date birthDay;
	
	private String sex;
	
	public PersonalInfoObject() {
		birthDay = new Date();
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public Date getBirthDay() {
		return birthDay;
	}

	public void setBirthDay(Date birthDay) {
		this.birthDay = birthDay;
	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}
}
